/*
 * @Author: mhb
 * @Date: 2021-11-23 11:08:06
 * @LastEditTime: 2022-06-07 15:02:01
 * @LastEditors: liyuxiao 1273661256@qq.com
 * @Description: BIM集成模块路由
 * @FilePath: \cscec-pms-admin-3\src\config\routers\bimIntegrate.js
 */
import { RouteView } from '@/layouts'

export default {
    path: '/bimIntegrate',
    component: RouteView,
    redirect: '/bimIntegrate/model',
    name: 'BimIntegrate',
    meta: {
        title: 'BIM集成',
        icon: 'user'
    },
    children: [
        {
            path: 'model',
            component: RouteView,
            redirect: '/modelList',
            name: 'Model',
            meta: {
                title: 'BIM模型'
            },
            children: [
                {
                    path: 'modelList',
                    component: () => import('@/views/bimView/modelList'),
                    name: 'ModelList',
                    meta: {
                        title: '模型列表'
                    }
                },
                {
                    path: 'modelPreview',
                    name: 'ModelPreview',
                    meta: {
                        title: 'BIM模型查看',
                        noTab: true
                    },
                    component: () => import('@/views/bimView/bimPreview')
                },
                {
                    path: 'wbsBind',
                    component: () => import('@/views/bimView/modelBusinessBind.vue'),
                    name: 'WbsBind',
                    meta: {
                        title: 'WBS绑定',
                        bindType: 'wbs'
                    }
                },
                {
                    path: 'criticalBind',
                    component: () => import('@/views/bimView/modelBusinessBind.vue'),
                    name: 'CriticalBind',
                    meta: {
                        title: '危大工程绑定',
                        bindType: 'critical'
                    }
                },
                {
                    path: 'criticalList',
                    component: () => import('@/views/bimView/modelBusinessList.vue'),
                    meta: {
                        title: '危大工程列表',
                        listType: 'critical'
                    }
                },
                {
                    path: 'safetyList',
                    component: () => import('@/views/bimView/modelBusinessList.vue'),
                    meta: {
                        title: '安全问题',
                        listType: 'safety'
                    }
                },
                {
                    path: 'qualityList',
                    component: () => import('@/views/bimView/modelBusinessList.vue'),
                    meta: {
                        title: '质量问题',
                        listType: 'quality'
                    }
                }
            ]
        },
        {
            path: 'bimResource',
            component: RouteView,
            redirect: '/bimResource/staffingConfig',
            name: 'bimResource',
            meta: {
                title: '信息化体系管理'
            },
            children: [
                {
                    path: '/bimResource/staffingConfig',
                    component: () => import('@/views/bimView/bimResource/staffingConfig'),
                    name: '/bimResource/staffingConfig',
                    meta: {
                        title: '专兼职人员管理'
                    }
                },
                {
                    path: '/bimResource/staffingConfigEdit',
                    component: () => import('@/views/bimView/bimResource/staffingConfig/staffingConfigEdit'),
                    name: '/bimResource/staffingConfigEdit',
                    meta: {
                        title: '专兼职人员管理详情',
                        noTab: true
                    }
                },
                {
                    path: '/bimResource/trainingLedger',
                    component: () => import('@/views/bimView/bimResource/trainingLedger'),
                    name: '/bimResource/trainingLedger',
                    meta: {
                        title: '培训台账'
                    }
                },
                {
                    path: '/bimResource/trainingLedgerEdit',
                    component: () => import('@/views/bimView/bimResource/trainingLedger/trainingLedgerEdit'),
                    name: '/bimResource/trainingLedgerEdit',
                    meta: {
                        title: '培训台账详情',
                        noTab: true
                    }
                },
                {
                    path: '/bimResource/trainingLedger1',
                    component: () => import('@/views/bimView/bimResource/trainingLedger1'),
                    name: '/bimResource/trainingLedger1',
                    meta: {
                        title: '数智培训台账'
                    }
                },
                {
                    path: '/bimResource/trainingEdit',
                    component: () => import('@/views/bimView/bimResource/trainingLedger1/trainingEdit'),
                    name: '/bimResource/trainingEdit',
                    meta: {
                        title: '数智培训台账详情',
                        noTab: true
                    }
                },
                {
                    path: '/bimResource/forensicAccount',
                    component: () => import('@/views/bimView/bimResource/forensicAccount'),
                    name: '/bimResource/forensicAccount',
                    meta: {
                        title: '人员取证台账'
                    }
                },
                {
                    path: '/bimResource/forensicAccountEdit',
                    component: () => import('@/views/bimView/bimResource/forensicAccount/forensicAccountEdit'),
                    name: '/bimResource/forensicAccountEdit',
                    meta: {
                        title: '人员取证台账详情',
                        noTab: true
                    }
                },
                {
                    path: '/bimResource/assessmentRecord',
                    component: () => import('@/views/bimView/bimResource/assessmentRecord'),
                    name: '/bimResource/assessmentRecord',
                    meta: {
                        title: '考核记录'
                    }
                },
                {
                    path: '/bimResource/assessmentRecordEdit',
                    component: () => import('@/views/bimView/bimResource/assessmentRecord/assessmentRecordEdit'),
                    name: '/bimResource/assessmentRecordEdit',
                    meta: {
                        title: '考核记录详情',
                        noTab: true
                    }
                },
                {
                    path: '/bimResource/informationRecord',
                    component: () => import('@/views/bimView/bimResource/informationRecord'),
                    name: '/bimResource/informationRecord',
                    meta: {
                        title: '考核记录'
                    }
                },
            ]
        },
        {
            path: 'bimResult',
            component: RouteView,
            redirect: '/bimResource/ledger',
            name: 'bimResult',
            meta: {
                title: 'BIM成果管理'
            },
            children: [
                {
                    path: '/bimResult/ledger',
                    component: () => import('@/views/bimView/bimResult/ledger'),
                    name: '/bimResult/ledger',
                    meta: {
                        title: 'BIM获奖台账'
                    }
                },
                {
                    path: '/bimResult/ledgerEdit',
                    component: () => import('@/views/bimView/bimResult/ledger/ledgerEdit'),
                    name: '/bimResult/ledgerEdit',
                    meta: {
                        title: 'BIM获奖台账详情',
                        noTab: true
                    }
                },
                {
                    path: '/bimResult/achievements',
                    component: () => import('@/views/bimView/bimResult/achievements'),
                    name: '/bimResult/achievements',
                    meta: {
                        title: '成果列表'
                    }
                },
                {
                    path: '/bimResult/achievementsEdit',
                    component: () => import('@/views/bimView/bimResult/achievements/achievementsEdit'),
                    name: '/bimResult/achievementsEdit',
                    meta: {
                        title: '成果详情',
                        noTab: true
                    }
                },
                {
                    path: '/bimResult/awardLedger',
                    component: () => import('@/views/bimView/bimResult/awardLedger/index'),
                    name: '/bimResult/awardLedger',
                    meta: {
                        title: 'BIM获奖台账'
                    }
                },
                {
                    path: '/bimResult/awardLedgerEdit',
                    component: () => import('@/views/bimView/bimResult/awardLedger/awardLedgerEdit'),
                    name: '/bimResult/awardLedgerEdit',
                    meta: {
                        title: 'BIM获奖台账详情',
                        noTab: true
                    }
                }
            ]
        }
    ]
}



